package ru.compscicenter.java.calc.expression;

import ru.compscicenter.java.calc.operations.Operations;

public class Constant<E> implements Expression<E> {
	final E value;
	
	public Constant(E value) {
		this.value = value;
	}
	
	@Override
	public E evaluate(E x, Operations<E> operations) {
		return value;
	}
}
